var db = require('./db');

var mongoose = require('mongoose');

var ApplicantSchema = new mongoose.Schema({ name: String, sex: String, grade: String, area: String, department: String, phone: String, email: String, date: Date, isPayed: Number });

var ApplicantModel = db.model('applicant', ApplicantSchema);

module.exports = ApplicantModel;